module.exports = {
	publicPath: './',
	css: {
		loaderOptions: {
			less: {
				lessOptions: {
					globalVars: {
						hack: `true; @import '~@/styles/variables.less'`
						// primary: '#fff'
					}
				}
			}
		}
	},
	devServer: {
		// 配置代理
		proxy: {
			'/api': {
				// socket: false,
				target: 'https://capdiem.xyz',
				changeOrigin: true
			}
		}
	}
}
